home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / program / n_b_v203.zip / B_GRID.DMO < prev    next >
Text File  |  1996-07-04  |  3KB  |  39 lines

  1. $if 0
  2.     ┌──────────────────────────╖                        PowerBASIC v3.20
  3.  ┌──┤          DASoft          ╟──────────────────────┬──────────────────╖
  4.  │  ├──────────────────────────╢    Copyright 1995    │ DATE: 1995-10-01 ╟─╖
  5.  │  │ FILE NAME   B_GRID  .DMO ║          by          ╘════════════════─ ║ ║
  6.  │  │ LIBRARY                  ║  Don Schullian, Jr.                     ║ ║
  7.  │  ╘══════════════════════════╝                                         ║ ║
  8.  │ A license is hereby granted to the holder to use this source code in  ║ ║
  9.  │ any program, commercial or otherwise,  without receiving the express  ║ ║
  10.  │ permission of the copyright holder and without paying any royalties,  ║ ║
  11.  │ as long as this code is not distributed in any compilable format.     ║ ║
  12.  │  IE: source code files, PowerBASIC Unit files, and printed listings   ║ ║
  13.  ╘═╤═════════════════════════════════════════════════════════════════════╝ ║
  14.    │                ....................................                   ║
  15.    ╘═══════════════════════════════════════════════════════════════════════╝
  16. $endif
  17.  
  18. '.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°
  19. ' ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° °
  20.                                                     '┌───────────────────────
  21. $INCLUDE "DAS-NB01.INC"                             '│
  22. $INCLUDE "DAS-NBV1.INC"                             '│
  23. $INCLUDE "DAS-NBV2.INC"                             '│
  24.                                                     '│
  25. CLS                                                 '│ get the VGA screen
  26. SCREEN 12                                           '│ set-up
  27. GraphicSETUP                                        '│
  28. fLoadDAScolor                                       '│ load 3D color system
  29.                                                     '│
  30. GBoxGRID    0,   0, 200, 200,      0, 15, 10, 10    '│ black solid lines
  31.                                                     '│
  32. GBoxGRID  300,   0, 500, 200, &h5555, 10, 10, 10    '│ dk.Grey dotted lines
  33. GLineDRAW 400,   0, 400, 200,      0, 3, 15         '│ black solid line
  34. GLineDRAW 300, 100, 500, 100,      0, 3, 15         '│ black solid line
  35.                                                     '│
  36. WHILE NOT INSTAT : WEND                             '│ a clean exit
  37. CLS : PALETTE : SCREEN 0 : END                      '│
  38.                                                     '└───────────────────────
  39.